.build-issue-list {
  &-container {
    overflow-x: auto;
    padding-bottom: 3px;
    td.#{$teamix-prefix}table-expanded > div {
      text-align: right;
      span {
        flex: 1;
      }
    }
  }
  &-header,
  &-waiting,
  &-fixed {
    box-shadow: 0 1px 3px 0 rgba(38, 38, 38, 0.1);
    border: 1px solid $gray-03;
    border-bottom: none;
    border-radius: 4px;
  }
  &-header {
    margin-top: 20px;
    .yx-table-cell {
      text-align: left;
      font-weight: 500;
      line-height: 20px;
      font-size: 12px;
      color: $gray-06;
    }
  }
  &-waiting,
  &-fixed {
    margin-top: 20px;
    background-color: #fff;
    .sub-title {
      text-align: left;
      line-height: 28px;
      font-weight: 500;
      font-size: 14px;
      color: $gray-06;
    }
    .build-issue-list-subtable {
      tr {
        cursor: pointer;
      }
    }
    .at-error-page {
      margin: 20px 0;
      &-info {
        margin-top: 0 !important;
      }
    }
  }
  &-footer {
    border-top: 1px solid #dcdee3;
  }
  &-subtable {
    .yx-table-row.hovered {
      background-color: #f7f7f7;
    }
    .dependency-tr-title {
      display: flex;
      align-items: center;
    }
    // 如果 table 行带边框
    // .yx-table-fixed .yx-table-body tr:last-child td {
    //   border-bottom-width: 1px;
    // }
  }
}

.has-stick {
  .dependency-issue-title-col > div {
    .dependency-tr-title {
      max-width: calc((100vw - 830px) * 0.278);
    }
  }
  .dependency-issue-version-col > div {
    .table-cell-one-line {
      max-width: calc((100vw - 600px) * 0.125);
    }
  }
  .dependency-issue-file-col > div {
    .dependency-file-name-content {
      max-width: calc((100vw - 600px) * 0.278);
    }
    span {
      color: $gray-08 !important;
      line-height: 20px;
      font-size: 14px;
    }
  }
  .dependency-issue-level-col > div {
    max-width: calc((100vw - 600px) * 0.278);
  }

  .no-nav {
    .dependency-issue-title-col > div {
      .dependency-tr-title {
        max-width: calc((100vw - 570px) * 0.278);
      }
    }
    .dependency-issue-file-col > div {
      .dependency-file-name-content {
        max-width: calc((100vw - 320px) * 0.278);
      }
    }
    .dependency-issue-version-col > div {
      .table-cell-one-line {
        max-width: calc((100vw - 320px) * 0.125);
      }
    }
    .dependency-issue-level-col > div {
      max-width: calc((100vw - 320px) * 0.278);
    }
  }
}

.no-stick {
  .dependency-issue-title-col > div {
    .dependency-tr-title {
      max-width: calc((100vw - 690px) * 0.278);
    }
  }
  .dependency-issue-version-col > div {
    .table-cell-one-line {
      max-width: calc((100vw - 600px) * 0.125);
    }
  }
  .dependency-issue-file-col > div {
    .dependency-file-name-content {
      max-width: calc((100vw - 600px) * 0.278);
    }
    span {
      color: $gray-08 !important;
      line-height: 20px;
      font-size: 14px;
    }
  }
  .dependency-issue-level-col > div {
    max-width: calc((100vw - 600px) * 0.278);
  }

  .no-nav {
    .dependency-issue-title-col > div {
      .dependency-tr-title {
        max-width: calc((100vw - 240px) * 0.278);
      }
    }
    .dependency-issue-file-col > div {
      .dependency-file-name-content {
        max-width: calc((100vw - 320px) * 0.278);
      }
    }
    .dependency-issue-version-col > div {
      .table-cell-one-line {
        max-width: calc((100vw - 320px) * 0.125);
      }
    }
    .dependency-issue-level-col > div {
      max-width: calc((100vw - 320px) * 0.278);
    }
  }
}

.suggestion-icon {
  margin-left: 8px;
  margin-right: 8px;
  color: #87d2ff;
  &.auto-fix {
    color: #d0af83;
  }
}
.directly-icon {
  margin-right: 8px;
  color: $gray-06;
  &.inline {
    position: absolute;
    left: -28px;
    margin: 0;
  }
}

.dependency-tr-title {
  position: relative;
}

.autofix-help-container {
  .autofix-help-footer {
    margin-top: 20px;
    text-align: right;
  }
}
